<%@taglib  uri="/WEB-INF/struts-bean.tld"  prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<form action="flight.do?action=Update" method="post">
    <table width="600" align="center">
        <tbody>
            <tr>
                <td>
                    <table class="tablemain" border="0">
                        <tr >
                            <th height="32" colspan="3" scope="col">Edit Flight </th>
                        </tr>
                        <tr>
                            <td width="253" height="32"><div align="right">FlightId : </div></td>
                            <td width="510" colspan="2">
                            <html:text property="flightId"  disabled="true"/></td>
                            <!-- truong text bi disable se khong lay duoc du lieu -->
                            <html:hidden property="flightId"/>
                            </td>
                        </tr>
                        <tr>
                            <td width="253" height="32"><div align="right">Flight Code: </div></td>
                            <td width="510" colspan="2">
                                <html:text property="flightId"/>
                            </td>
                        </tr>
                        <tr>
                            <td height="39"><div align="right">Price : </div></td>
                            <td colspan="2"><html:text property="price"/></td>
                        </tr>
                        <tr>
                            <td height="39"><div align="right">Departure : </div></td>
                            <td colspan="2"><html:text property="departure"/></td>
                        </tr>
                        <tr>
                            <td height="39"><div align="right">Destination : </div></td>
                            <td colspan="2"><html:text property="destination"/> </td>
                        </tr>
                        <tr>
                            <td height="39"><div align="right">FlightDate : </div></td>
                            <td colspan="2"><html:text property="flightDate"/></td>
                        </tr>
                        <tr>
                            <td height="39"><div align="right">FlightTime : </div></td>
                            <td colspan="2"><html:text property="flightTime"/></td>
                        </tr>

                        <tr>
                            <td height="39" colspan="3"><div align="center">


                                    <html:submit property="action" value="Update"/>
                                    <input type="reset" name="" value="Reset">

                                </div></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>



</form>

